package cn.epsilon3.domain.e3.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 黑名单ip表
 * </p>
 *
 * @author epsilon3
 * @since 2023-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e3_black_ip")
public class E3BlackIpPo implements Serializable {

    private static final long serialVersionUID = -574518428654171L;

    /**
     * ip id
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    /**
     * ip
     */
    @TableField("ip")
    private String ip;

    /**
     * 调用次数/分
     */
    @TableField("count")
    private Integer count;

    /**
     * 是否删除 0正常 1删除
     */
    @TableField("effective")
    private Integer effective;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
